import { Navigate } from "react-router-dom";
import About from "../pages/About";
import Home from "../pages/Home";

// 路由表
// eslint-disable-next-line import/no-anonymous-default-export
export default [
    {
        path: "/about",
        element: <About></About>
    },
    {
        path: "/home",
        element: <Home></Home>
    },
    {
        path: "/",
        element: <Navigate to="/about"></Navigate>
    }
]

